package com.gltc.entities;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.gltc.constant.Constant;

@Component(Constant.SESSION_USER_KEY) 
@Scope(value = "session")
public class PhotoAuthUser {
    private int id;

    private String username;

    private String password;

    private int isadmin;
    
    private String logintime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getIsadmin() {
		return isadmin;
	}

	public void setIsadmin(int isadmin) {
		this.isadmin = isadmin;
	}

	public String getLogintime() {
		return logintime;
	}

	public void setLogintime(String logintime) {
		this.logintime = logintime;
	}

}